package cn.com.twoke.application.game.mario.core.ecs.system;

import cn.com.twoke.application.game.mario.core.ecs.entity.Entity;

import javax.swing.*;
import java.awt.*;
import java.util.List;

public interface RenderGameSystem extends GameSystem {

    void render(List<Entity> entities, Graphics2D g);

    void setContainer(JPanel container);
    
    /**
     * 清理渲染系统资源
     */
    void cleanup();
}
